#! /bin/sh
# chkconfig: 2345 99 01
# description: SNMP Feeder
# processname: snmp-feeder.py

### BEGIN INIT INFO
# Provides:          snmp-feeder
# Required-Start:
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: SNMP Feeder
# Description:       SNMP Feeder
### END INIT INFO

# Debian:
# update-rc.d snmp-feeder start 99 2 3 4 5 . stop 01 0 1 6 .

NAME=snmp-feeder
DAEMON=/usr/local/sbin/snmp-feeder.py

[ -x "$DAEMON" ] || exit 0

case "$1" in
  start)
	$DAEMON --start
	;;
  stop)
	$DAEMON --stop
	;;
  restart|force-reload)
	# No-op
	;;
  *)
	echo "Usage: $NAME {start|stop|restart|force-reload}" >&2
	exit 3
	;;
esac

:
